package com.taoding.entity.base;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 系统企业平台标识
 * </p>
 *
 * @author lxh123
 * @since 2019-12-04
 */
public class Corp extends Model<Corp> {

    private static final long serialVersionUID = 1L;

    @TableId("corp_id")
    private String corpId;
    @TableField("create_time")
    private String createTime;
    private String name;
    private String operator;
    private Integer status;


    public String getCorpId() {
        return corpId;
    }

    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.corpId;
    }

    @Override
    public String toString() {
        return "Corp{" +
        ", corpId=" + corpId +
        ", createTime=" + createTime +
        ", name=" + name +
        ", operator=" + operator +
        ", status=" + status +
        "}";
    }
}
